{"version":3,"sources":["index.ts"],"names":["documentRef","current","document","windowRef","window"],"mappings":";;;;;;;;;;;AASA;;;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;;AATO,IAAMA,WAAsB,GAAG;AACpCC,EAAAA,OAAO,EAAE,OAAOC,QAAP,KAAoB,WAApB,GAAkC,IAAlC,GAAyCA;AADd,CAA/B;;AAGA,IAAMC,SAAoB,GAAG;AAClCF,EAAAA,OAAO,EAAE,OAAOG,MAAP,KAAkB,WAAlB,GAAgC,IAAhC,GAAuCA;AADd,CAA7B","sourcesContent":["import { TargetRef } from './types';\n\nexport const documentRef: TargetRef = {\n  current: typeof document === 'undefined' ? null : document,\n};\nexport const windowRef: TargetRef = {\n  current: typeof window === 'undefined' ? null : window,\n};\n\nexport { EventListener } from './EventListener';\nexport * from './types';\nexport { useEventListener } from './useEventListener';\n"],"file":"index.js"}